﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RearLivestock.Common.Dtos
{
    /// <summary>
    /// 猪只称重dto
    /// </summary>
    public class PigWeighingDto
    {
        /// <summary>
        /// 称重ID
        /// </summary>
        public int PigsWeighingId { get; set; }
        /// <summary>
        /// 称重日期
        /// </summary>
        public DateTime ?WeighingDate { get; set; }
        /// <summary>
        /// 称重类型ID
        /// </summary>
        public int WeighingTypeId { get; set; }
        /// <summary>
        /// 称重类型名称
        /// </summary>
        public string ?WeighingName { get; set; } = string.Empty;
        /// <summary>
        /// 耳号
        /// </summary>
        public string? EarNumber { get; set; } = string.Empty;
        /// <summary>
        /// 重量
        /// </summary>
        public decimal PigWeight { get; set; }

        /// <summary>
        /// 性别
        /// </summary>
        public int Gender { get; set; }

        /// <summary>
        /// 品种ID
        /// </summary>
        public int VarietiesId { get; set; }

        /// <summary>
        /// 品种名称
        /// </summary>
        public string ?VarietiesName { get; set; } = string.Empty;
        /// <summary>
        /// 创建人
        /// </summary>
        public string? CreatedOwner { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreatedTime { get; set; }

        /// <summary>
        /// 修改人
        /// </summary>
        public string? UpdateOwner { get; set; }

        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }

        /// <summary>
        /// 审核人
        /// </summary>
        public string? ExamineOwner { get; set; }

        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? ExamineTime { get; set; }
    }
}
